﻿using System.Collections.Generic;
using DC2010.Objects.Common;
using DC2010.Logic.Common;

namespace DC2010.Objects.Base
{
    public class BaseData : BaseObject, IEffected, IConditioned, ILinked
    {
        /// <summary>
        /// Reference to the parent object
        /// </summary>
        public string InfoId { get; set; }

        /// <summary>
        /// Reference to gfx used for this object
        /// </summary>
        public string GfxId { get; set; }
		
        /// <summary>
        /// Effects on creature, Only IDs
        /// </summary>
        public List<KeyValue> Effects { get; set; }

        /// <summary>
        /// Conditions on creature, Only IDs
        /// </summary>
        public List<KeyValue> Conditions { get; set; }


        public List<ObjectReference> LinkedObjects { get; set;}

        public List<KeyValue> Params { get; set; }


        public BaseData()
        {
            Effects = new List<KeyValue>();
            Conditions = new List<KeyValue>();
            LinkedObjects = new List<ObjectReference>();
            Params = new List<KeyValue>();
        }
    }
}
